package com.nike.enums;
/**
 * 商品属性枚举
 * @author wb-wuhantao
 *
 */
public enum AttributeType {
	text("text","文本"),
	number("number","数字"),
	alphaint("alphaint","字母"),
	radio("radio","单选"),
	checkbox("checkbox","多选"),
	date("date","日期");
	
	
	
	//英文名称
	private String code;
	//中文名称
	private String remark;
	/**
	 * 构造方法
	 * @param code
	 * @param remark
	 */
    private AttributeType(String code, String remark) {
        this.code = code;
        this.remark = remark;
    }
	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}
	/**
	 * @param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * @param remark the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

}


